package cn.itcast.jx.util;

import java.util.Random;

public class PwdUtil {

	
	public static String getPwd() {
		String pwd="";
		String str = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ()_+/";
		Random r = new Random();
		
		for(int i = 0;i < 6;i++) {
			pwd += str.charAt(r.nextInt(str.length()));
		}
		return pwd;
	}
}
